//
//  MKUIThemeStatePicker.h
//  MKUI
//  应用主题元素，更新控件在指定UIControlState下的属性
//  Created by 苏尚进 on 2021/3/20.
//  Copyright © 2021 moon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MKUIThemePickerBase.h"
NS_ASSUME_NONNULL_BEGIN

@interface MKUIThemeStatePicker : MKUIThemePickerBase
@property(nonatomic,strong,nullable) id<MKUIThemeElementProtocol> element;//主题元素
@property(nonatomic,assign) UIControlState state;
+ (NSString *)pickerKeyForObjSelector:(SEL)objSelector state:(UIControlState)state;
+ (instancetype)pickerForObjSelector:(SEL)objSelector  element:(id<MKUIThemeElementProtocol>)element state:(UIControlState)state;
@end

@interface MKUIThemeUIImageStatePicker : MKUIThemeStatePicker
@end
@interface MKUIThemeUIColorStatePicker : MKUIThemeStatePicker
@end
NS_ASSUME_NONNULL_END
